package org.simplify.rest.starter;

import org.fanjr.simplify.rest.Rest;
import org.fanjr.simplify.rest.SkipMapping;

@Rest("/test")
public class HelloServer {

	public String hello() {
		return "Hello !";
	}

	public String hello1(String name) {
		return "Hello " + name + "!";
	}

	public String hello2(String name, String name2) {
		return "Hello " + name + " and " + name2 + "!";
	}

	public String hello3(TestPojo body) {
		return "Hello " + body.toString() + "!";
	}

	@SkipMapping
	public String skipService() {
		return "skip!";
	}

}
